import request from "../untils/request";
//获取余额 /api/front/user/balance
export const getlance = () => {
	return request("/api/front/user/balance")
}
//充值 /api/front/user/balance
export const recharge = () => {
	return request("/api/front/recharge/wechat",{"from": "",
	"payType": "",
	"price": 5,
	"rechar_id": 0},"post")
}
///api/front/recharge/bill/record 账单记录
export const billList = (all) => {
	return request("/api/front/recharge/bill/record",{page: 1,
limit: 10,
type: all})
}
// /api/front/integral/user
export const integration= () => {
	return request("/api/front/integral/user")
}

